package com.zdlog.ler.dao;

import com.zdlog.ler.entity.LerSchool;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @program: ler-fast
 * @description:
 * @author: tengxianchao
 * @email: admin@zdlog.com
 * @create: 2018-11-23 15:26
 **/
public interface LerSchoolDao extends JpaRepository<LerSchool,String> {

    List<LerSchool> findByCityCode(String cityCode);

    List<LerSchool> findAll();

}
